<?php
/**
 * Created by PhpStorm.
 * User: yuyiwen
 * Date: 2018/10/22
 * Time: 上午11:01
 */
sleep(3);
$filename = './upload/'.uniqid().'.jpg';
move_uploaded_file($_FILES['file']['tmp_name'] , $filename);

echo $filename;